package com.hyk.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hyk.domain.SysUserRole;
import com.hyk.mapper.SysUserRoleMapper;
import com.hyk.service.SysUserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUserRole> implements SysUserRoleService{

    @Resource
    private SysUserRoleMapper sysUserRoleMapper;

    @Override
    public void removeUserRoleByUserId(Long id) {
        sysUserRoleMapper.deleteUserRoleByUserId(id);
    }
}
